/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package db;

import java.util.ArrayList;
import models.Note;

/**
 *
 * @author pelle
 * Edited Steffen
 * 
 * 21-06-2011, Pelle: Added getNoteCount
 */
public interface NoteInterface {
    public Note getNote(int id);
    public int saveNote(Note note);
    public int getNoteCount();
    public ArrayList<Note> searchNotes(String text, int isPublic);
}
